home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
014
/
libber.arc
/
LIBBER.DOC
< prev
Wrap
Text File
|
1985-11-05
|
4KB
|
89 lines
Libber Version 1.1
K.Fitzpatrick
This program is mainly for sysops that wish to convert *.LBR
files to the ARC format. Libber is written in Turbo pascal and uses
exec calls to run the other necessary programs.
How Libber does it.
First Libber reads the directory into a stack. One by one it goes
through the stack looking for the extension 'LBR'. When it finds a
filename that has the extension 'LBR' it goes to a procedure that
moves the file to a specified holding directory. It will then run
one of library programs to spread the library. After the library is
spread it will delete the original library name from the directory.
Its next step will be to archive all the files in the holding directory.
Once this is done it moves the new filename with the ARC extension
back to the original directory and delete the corresponding filename
with the 'LBR' extension. This process will continue until all files
with the 'LBR' extension have been converted.
Libber Setup
Libber allows you to designate 4 names/paths.
You can designate which version of ARC you are going to use. Remember
this program MUST be on the path. The default name is ARC.exe. You
need not include the extension when specifying the name. To represent
that you are changing the default arc version use the switch '/A'.
Ex. for version 4.30 type 'Libber arc430/a' at the DOS prompt
You may also specify the subdirectory where the library file will be
spread. The default subdirectory is C:\Temp. To represent that you are
changing the default directory use the switch '/T'. Remember the directory
that you use MUST be empty or your first archive will also contain the files
that were in the directory when it started. I will probably change this
in version 2.0
Ex. for C:\work type 'Libber C:\work/t' at the DOS prompt
You can also tell Libber which library utility to use. I have set the
default to LUE201 since it is my favorite. The speed and the compatibility
of this one seems to be the best. To designate that it is the library
utility name that you are going to change use the switch '/L'. Again
this program MUST be on the path.
Ex. for LU86 type 'Libber lu86/l at the DOS prompt
The last thing you can configure Libber for is the name of the input
file. Libber needs this file since I can't figure out how to push a
'y' into the keyboard stack to answer the question when I try and delete
all files from the holding subdirectory after the files have been archived.
When the DOS DEL command is used I redirect input from the filename specified
by the '/I' switch. Default name is Input.txt. To create this file simply
go to wherever you want it and use the COPY CON method. All you need to
do is this...
copy con input.txt {c/r}
y {c/r}
{F6} {c/r}
You may have this file anywhere you want it as long as you specify the path
and the name.
Ex. name is y.txt in C:\prg type 'Libber C:\prg\y.txt/i'
A last note on configurations
You may use any number of switches in any order. If you want to change
all default values go ahead and do it.
ERRORS!!
Make very sure that when you specify something using the switches that
it actually exists. If you specify a holding directory that isn't there
SHUT OFF YOUR MACHINE!! My program will simple return an error and keep
running. This means it will delete your *.LBR files one by one. If
the archive utility and the library utility are not on the path the SAME
thing will happen. I used this program to change over 400 files to the
ARC format without a problem.
Kerien Fitzpatrick
SysOp Fido 129/18
412-362-1672